package learningThread.syn.synchronizedMethodLockObj.communicate.join;

public class TestJoin {

    public static void main(String[] args) {
        try {
            MyThread myThread = new MyThread();
            myThread.start();
            myThread.join();
            System.out.println("我想等线程执行完毕，我再继续....");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
